package cn.ipenta.blockchain.entity;

import java.io.Serializable;

import org.springframework.data.annotation.Id;

public class TransactionInfo implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Id
	private String uuid;
	
	private Long version;
	private Long time;
	private String contentType;
	private RecordInfo contentInfo;
	private String chaincode;

	public TransactionInfo() {
	}

	public TransactionInfo(String uuid, Long version, Long time, String contentType,RecordInfo contentInfo,
			String chaincode) {
		this.uuid = uuid;
		this.version = version;
		this.time = time;
		this.contentType = contentType;
		this.contentInfo = contentInfo;
		this.chaincode = chaincode;
	}

	public String getUuid() {
		return this.uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public Long getVersion() {
		return this.version;
	}

	public void setVersion(Long version) {
		this.version = version;
	}

	public Long getTime() {
		return this.time;
	}

	public void setTime(Long time) {
		this.time = time;
	}

	public String getContentType() {
		return this.contentType;
	}

	public void setContentType(String contentType) {
		this.contentType = contentType;
	}

	public String getChaincode() {
		return this.chaincode;
	}

	public void setChaincode(String chaincode) {
		this.chaincode = chaincode;
	}

	public RecordInfo getContentInfo() {
		return contentInfo;
	}

	public void setContentInfo(RecordInfo contentInfo) {
		this.contentInfo = contentInfo;
	}


}